package com.etime.shuhuiyuan.services.teacher.interfaces;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.etime.shuhuiyuan.pojo.Teacher;

import java.util.List;

public interface TeacherService {
    //添加教师
    int insertTeacher(Teacher teacher);

    //修改教师
    int updateTeacher(Teacher teacher);

    //查询教师列表
    List<Teacher> selectTeacherList(Teacher teacher);

    //根据分页查询教师
    Page<Teacher> selectTeacherByPage(Teacher teacher, long pageNum, long pageSize);

    //根据教师id查询
    Teacher selectTeacherById(Integer teacherId);
}
